package com.woniuxy.order;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@SpringBootApplication(scanBasePackages = {"com.woniuxy"})
@MapperScan("com.woniuxy.order.mapper")
@EnableFeignClients(basePackages = "com.woniuxy.order.clinet")
@EnableTransactionManagement
public class PawnOrderApplication {

    public static void main(String[] args) {
        try {
            SpringApplication.run(PawnOrderApplication.class, args);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

}
